<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        div{
            width: 300px;
            height:300px;
            background-image: url(../image/头像.jpg);
            background-repeat: no-repeat;
            background-size: 300px;
            text-align: center;
            line-height: 300px;
            font-size: 20px;
            color: blue;
            z-index: 100;
        }
        div:hover{
            background: rgba(0, 0, 0, 0.1);
        }
    </style>
</head>
<body>
    <div class="box">
        <p>宋嘉乐</p>

    </div>
    <button>123</button>
</body>
</html>